package com.example.server.mapper;


import com.example.server.domain.Maintenance;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

public interface MaintenanceMapper extends Mapper<Maintenance> {

    @Update("UPDATE maintenance SET status = '已解决' WHERE id = #{id}")
    void resolveMaintenance(Long id);

}
